Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-SupplyRequest2to3.html |
Url | http://hl7.org/fhir/StructureMap/SupplyRequest2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | SupplyRequest2to3 |
Title | SupplyRequest Transforms: R2 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | SupplyRequestTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/SupplyRequest2to3' /// name = 'SupplyRequest2to3' /// title = 'SupplyRequest Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/SupplyRequest" alias SupplyRequestR2 as source uses "http://hl7.org/fhir/3.0/SupplyRequest" alias SupplyRequest as target imports "http://hl7.org/fhir/StructureMap/*2to3" group SupplyRequest(source src : SupplyRequestR2, target tgt : SupplyRequest) extends DomainResource <<type+>> { src.patient as v -> tgt.extension as t, t.url = 'http://hl7.org/fhir/SupplyRequest-r2-patient', t.value = v "SupplyRequest-patient"; src.source as v -> tgt.requester as r, r.agent as v "SupplyRequest-source"; src.date -> tgt.authoredOn "SupplyRequest-date"; src.identifier -> tgt.identifier "SupplyRequest-identifier"; src.status -> tgt.status "SupplyRequest-status"; src.kind -> tgt.category "SupplyRequest-kind"; src.orderedItem -> tgt.orderedItem "SupplyRequest-orderedItem"; src.supplier -> tgt.supplier "SupplyRequest-supplier"; src.reason -> tgt.reason "SupplyRequest-reason"; src.when as vs0 then srWhen(vs0, tgt) "SupplyRequest-when"; } group srWhen(source src, target tgt) extends BackboneElement { src.schedule -> tgt.occurrence "when-schedule"; }
{
"resourceType" : "StructureMap",
"id" : "SupplyRequest2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/SupplyRequest2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'SupplyRequest2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'SupplyRequest Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/SupplyRequest<span style=\"color: navy\">" </span><b>alias </b>SupplyRequestR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/SupplyRequest<span style=\"color: navy\">" </span><b>alias </b>SupplyRequest <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>SupplyRequest<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>SupplyRequestR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>SupplyRequest<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.patient<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.extension<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.url = <span style=\"color: blue\">'http://hl7.org/fhir/SupplyRequest-r2-patient'</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: maroon\">v</span> <i>"SupplyRequest-patient"</i><span style=\"color: navy\">;</span>\r\n src.source<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.requester<b> as </b><span style=\"color: maroon\">r</span><span style=\"color: navy\">, </span> r.agent<b> as </b><span style=\"color: maroon\">v</span> <i>"SupplyRequest-source"</i><span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.authoredOn <i>"SupplyRequest-date"</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"SupplyRequest-identifier"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"SupplyRequest-status"</i><span style=\"color: navy\">;</span>\r\n src.kind<span style=\"color: navy\"><b> -> </b></span>tgt.category <i>"SupplyRequest-kind"</i><span style=\"color: navy\">;</span>\r\n src.orderedItem<span style=\"color: navy\"><b> -> </b></span>tgt.orderedItem <i>"SupplyRequest-orderedItem"</i><span style=\"color: navy\">;</span>\r\n src.supplier<span style=\"color: navy\"><b> -> </b></span>tgt.supplier <i>"SupplyRequest-supplier"</i><span style=\"color: navy\">;</span>\r\n src.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reason <i>"SupplyRequest-reason"</i><span style=\"color: navy\">;</span>\r\n src.when<b> as </b><span style=\"color: maroon\">vs0</span><b> then </b>srWhen<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>"SupplyRequest-when"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>srWhen<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.schedule<span style=\"color: navy\"><b> -> </b></span>tgt.occurrence <i>"when-schedule"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/SupplyRequest2to3",
"version" : "0.1.0",
"name" : "SupplyRequest2to3",
"title" : "SupplyRequest Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "SupplyRequestTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/SupplyRequest",
"mode" : "source",
"alias" : "SupplyRequestR2"
},
{
"url" : "http://hl7.org/fhir/3.0/SupplyRequest",
"mode" : "target",
"alias" : "SupplyRequest"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "SupplyRequest",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "SupplyRequestR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "SupplyRequest",
"mode" : "target"
}
],
"rule" : [
{
"name" : "SupplyRequest-patient",
"source" : [
{
"context" : "src",
"element" : "patient",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "extension",
"variable" : "t"
},
{
"context" : "t",
"element" : "url",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/SupplyRequest-r2-patient"
}
]
},
{
"context" : "t",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "SupplyRequest-source",
"source" : [
{
"context" : "src",
"element" : "source",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "requester",
"variable" : "r"
},
{
"context" : "r",
"element" : "agent",
"variable" : "v"
}
]
},
{
"name" : "SupplyRequest-date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "authoredOn",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyRequest-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyRequest-status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyRequest-kind",
"source" : [
{
"context" : "src",
"element" : "kind",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "category",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyRequest-orderedItem",
"source" : [
{
"context" : "src",
"element" : "orderedItem",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "orderedItem",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyRequest-supplier",
"source" : [
{
"context" : "src",
"element" : "supplier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "supplier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyRequest-reason",
"source" : [
{
"context" : "src",
"element" : "reason",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reason",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyRequest-when",
"source" : [
{
"context" : "src",
"element" : "when",
"variable" : "vs0"
}
],
"dependent" : [
{
"name" : "srWhen",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "tgt"
}
]
}
]
}
]
},
{
"name" : "srWhen",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "when-schedule",
"source" : [
{
"context" : "src",
"element" : "schedule",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "occurrence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.